<?php
// include constants
include "../includes/vars.php";
include "../includes/containers.php";
include "newvars.php";
$pathToRoot = "../"; 		// or "";

?>

<?php
include "header.php";
?>


<?php
// content php code goes here

if($_GET['act']=="about"){

                                      $filename = $websitename . $abouturl ;

                                      $filetext = implode("", file($filename));

                                      $filetext = eregi_replace ("<body", "IBREPLACEMENT", $filetext);
                                      $filetext = eregi_replace ("</body", "IBREPLACEMENT", $filetext);

                                      $fileparts = explode("IBREPLACEMENT", $filetext);




                                      $fileparts2 = split (">", $fileparts[1], 2);



                                      $content = $fileparts2[1];

}
else if($_GET['act']=="downloads"){

                                      $filename = $websitename . $downloadsurl ;

                                      $filetext = implode("", file($filename));

                                      $filetext = eregi_replace ("<body", "IBREPLACEMENT", $filetext);
                                      $filetext = eregi_replace ("</body", "IBREPLACEMENT", $filetext);

                                      $fileparts = explode("IBREPLACEMENT", $filetext);




                                      $fileparts2 = split (">", $fileparts[1], 2);



                                      $content = $fileparts2[1];

}

?>

<!-- content html code goes here-->
              <td rowspan="2" class="content_center" valign="top">

				<div class="content_body">
				  <ul>
				   <?php print $content;?>
				  </ul>

				</div>	
				</td>
<!-- end of content html code-->


<?php
include "footer.php";
?>
